<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel backend\models\GraduationAuditSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Graduation Audits';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="graduation-audit-index">

    <?php Pjax::begin(); ?>
    <div class="panel">
		<div class="panel-heading panel-heading-auto">
            <?php echo $this->render('_search', ['model' => $searchModel]); ?>
		</div>
        <div class="panel-body">

    <?= GridView::widget([
        'layout' => "{items}\n{pager}",
        'tableOptions' => ['class' => 'table table-hover table-bordered'],
        'dataProvider' => $dataProvider,
        //'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn', 'header' => '序号'],

            //'ID',
            'BYND',
            'XXMC',
            'ZYGS',
            'BYRS',
            'JBRXM',
            'JBRDH',
            //'CJSJ',
            [
                'attribute' => 'GXSJ',
                'format' => ['date', 'php:Y-m-d'],
            ],
            'SHZT',
            //'SJYJYJ',
            //'SJYJRQ',
            //'ZZQYYR',
            //'ZZQYYRQ',
            //'QJYTYJ',
            //'QJYTRQ',
            //'QJYTJYR',
            //'QJYTJYRQ',

            ['class' => 'yii\grid\ActionColumn', 'header'=>'操作'],
        ],
    ]); ?>

		</div>
	</div>
    <?php Pjax::end(); ?>

</div>
